<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html><head><title>Python and MAPI</title>

 
   
   <link rel="Index" href="http://mail.python.org/pipermail/python-list/2000-January/index.html">
   <link rel="made" href="mailto:python-list%40python.org?Subject=Python%20and%20MAPI&amp;In-Reply-To=">
   <meta name="robots" content="index,nofollow">
   <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <link rel="Previous" href="http://mail.python.org/pipermail/python-list/2000-January/020786.html">
   <link rel="Next" href="http://mail.python.org/pipermail/python-list/2000-January/020787.html"></head><body bgcolor="#ffffff">
   <h1>Python and MAPI</h1>
    <b>Michel Orengo</b> 
    <a href="mailto:python-list%40python.org?Subject=Python%20and%20MAPI&amp;In-Reply-To=" title="Python and MAPI">michelorengo at netscape.com
       </a><br>
    <i>Wed Jan 19 21:59:25 CET 2000</i>
    <p></p><ul>
        <li>Previous message: <a href="http://mail.python.org/pipermail/python-list/2000-January/020786.html">Python and MAPI
</a></li>
        <li>Next message: <a href="http://mail.python.org/pipermail/python-list/2000-January/020787.html">Python and MAPI
</a></li>
         <li> <b>Messages sorted by:</b> 
              <a href="http://mail.python.org/pipermail/python-list/2000-January/date.html#20789">[ date ]</a>
              <a href="http://mail.python.org/pipermail/python-list/2000-January/thread.html#20789">[ thread ]</a>
              <a href="http://mail.python.org/pipermail/python-list/2000-January/subject.html#20789">[ subject ]</a>
              <a href="http://mail.python.org/pipermail/python-list/2000-January/author.html#20789">[ author ]</a>
         </li>
       </ul>
    <hr>  
<!--beginarticle-->
<pre>Grant Edwards wrote:

&gt;<i> I'm assuming that stuff like the message body, sender's e-mail
</i>&gt;<i> address, etc. are all contained in the MAPIOBJECT object.
</i>&gt;<i>
</i>&gt;<i> How do I find out what type of object that is?
</i>&gt;<i>
</i>
For the body, I believe you can try msg.text
For the Sender address, try msg.Sender.address

The following table summarizes each object's properties and methods.


Object  Available since version
Properties
Methods
AddressEntries collection  1.1  Application, Class, Count, Filter, Item, Parent,
RawTable1, Session  Add, Delete, GetFirst, GetLast, GetNext, GetPrevious, Sort
AddressEntry  1.0.a  Address, Application, Class, DisplayType, Fields, ID,
Manager, MAPIOBJECT1, Members, Name, Parent, Session, Type  Delete, Details,
GetFreeBusy, IsSameAs, Update
AddressEntryFilter  1.1  Address, Application, Class, Fields, Name, Not, Or,
Parent, Session  IsSameAs
AddressList  1.1  AddressEntries, Application, Class, Fields, ID, Index,
IsReadOnly, Name, Parent, Session  IsSameAs
AddressLists collection  1.1  Application, Class, Count, Item, Parent, Session
(none)
AppointmentItem  1.2  AllDayEvent, Application, Attachments, BusyStatus,
Categories, Class, Conversation, ConversationIndex, ConversationTopic,
DeliveryReceipt, Duration, Encrypted, EndTime, Fields, FolderID, ID, Importance,
IsRecurring, Location, MAPIOBJECT1, MeetingResponseStatus, MeetingStatus,
Organizer, Parent, ReadReceipt, Recipients, ReminderMinutesBeforeStart,
ReminderSet, ReplyTime, ResponseRequested, Sender, Sensitivity, Sent, Session,
Signed, Size, StartTime, StoreID, Subject, Submitted, Text, TimeCreated,
TimeExpired, TimeLastModified, TimeReceived, TimeSent, Type, Unread
ClearRecurrencePattern, CopyTo, Delete, GetRecurrencePattern, IsSameAs, MoveTo,
Options, Respond, Send, Update
Attachment  1.0.a  Application, Class, Fields, Index, MAPIOBJECT1, Name, Parent,
Position, Session, Source, Type  Delete, IsSameAs, ReadFromFile, WriteToFile
Attachments collection  1.0.a  Application, Class, Count, Item, Parent, Session
Add, Delete
Field  1.0.a  Application, Class, ID, Index, Name, Parent, Session, Type, Value
Delete, ReadFromFile, WriteToFile
Fields collection  1.0.a  Application, Class, Count, Item, Parent, Session  Add,
Delete, SetNamespace
Folder  1.0.a  Application, Class, Fields, FolderID, Folders, HiddenMessages, ID,
MAPIOBJECT1, Messages, Name, Parent, Session, StoreID  CopyTo, Delete, IsSameAs,
MoveTo, Update
Folders collection  1.0.a  Application, Class, Count, Item, Parent, RawTable1,
Session  Add, Delete, GetFirst, GetLast, GetNext, GetPrevious, Sort
GroupHeader  1.1  Application, Class, Count, Level, Name, Parent, Session, Unread
(none)
InfoStore  1.0.a  Application, Class, Fields, ID, Index, MAPIOBJECT1, Name,
Parent, ProviderName, RootFolder, Session  IsSameAs
InfoStores collection  1.0.a  Application, Class, Count, Item, Parent, Session
(none)
MeetingItem  1.2  Application, Attachments, Categories, Class, Conversation,
ConversationIndex, ConversationTopic, DeliveryReceipt, Encrypted, Fields,
FolderID, ID, Importance, MAPIOBJECT1, MeetingType, Parent, ReadReceipt,
Recipients, Sender, Sensitivity, Sent, Session, Signed, Size, StoreID, Subject,
Submitted, Text, TimeCreated, TimeExpired, TimeLastModified, TimeReceived,
TimeSent, Type, Unread  CopyTo, Delete, Forward, GetAssociatedAppointment,
IsSameAs, MoveTo, Options, Reply, ReplyAll, Respond, Send, Update
Message  1.0.a  Application, Attachments, Categories, Class, Conversation,
ConversationIndex, ConversationTopic, DeliveryReceipt, Encrypted, Fields,
FolderID, ID, Importance, MAPIOBJECT1, Parent, ReadReceipt, Recipients, Sender,
Sensitivity, Sent, Session, Signed, Size, StoreID, Subject, Submitted, Text,
TimeCreated, TimeExpired, TimeLastModified, TimeReceived, TimeSent, Type, Unread
CopyTo, Delete, Forward, IsSameAs, MoveTo, Options, Reply, ReplyAll, Send, Update
MessageFilter  1.1  Application, Class, Conversation, Fields, Importance, Not, Or,
Parent, Recipients, Sender, Sent, Session, Size, Subject, Text, TimeFirst,
TimeLast, Type, Unread  IsSameAs
Messages collection  1.0.a  Application, Class, Count, Filter, Item, Parent,
RawTable1, Session  Add, Delete, GetFirst, GetLast, GetNext, GetPrevious, Sort
Recipient  1.0.a  Address, AddressEntry, AmbiguousNames, Application, Class,
DisplayType, ID, Index, MeetingResponseStatus, Name, Parent, Session, Type
Delete, GetFreeBusy, IsSameAs, Resolve
Recipients collection  1.0.a  Application, Class, Count, Item, RawTable1, Parent,
Resolved, Session  Add, AddMultiple, Delete, GetFirstUnresolved, GetFreeBusy,
GetNextUnresolved, Resolve
RecurrencePattern  1.2  Application, Class, DayOfMonth, DayOfWeekMask, Duration,
EndTime, Instance, Interval, MonthOfYear, NoEndDate, Occurrences, Parent,
PatternEndDate, PatternStartDate, RecurrenceType, Session, StartTime  (none)
Session  1.0.a  AddressLists, Application, Class, CurrentUser, Inbox, InfoStores,
MAPIOBJECT1, Name, OperatingSystem, Outbox, OutOfOffice, OutOfOfficeText, Parent,
Session, Version  AddressBook, CompareIDs, CreateConversationIndex, DeliverNow,
GetAddressEntry, GetAddressList, GetArticle, GetDefaultFolder, GetFolder,
GetInfoStore, GetMessage, GetOption, Logoff, Logon, SetLocaleIDs, SetOption



</pre>

<!--endarticle-->
    <hr>
    <p></p><ul>
        <!--threads-->
	<li>Previous message: <a href="http://mail.python.org/pipermail/python-list/2000-January/020786.html">Python and MAPI
</a></li>
	<li>Next message: <a href="http://mail.python.org/pipermail/python-list/2000-January/020787.html">Python and MAPI
</a></li>
         <li> <b>Messages sorted by:</b> 
              <a href="http://mail.python.org/pipermail/python-list/2000-January/date.html#20789">[ date ]</a>
              <a href="http://mail.python.org/pipermail/python-list/2000-January/thread.html#20789">[ thread ]</a>
              <a href="http://mail.python.org/pipermail/python-list/2000-January/subject.html#20789">[ subject ]</a>
              <a href="http://mail.python.org/pipermail/python-list/2000-January/author.html#20789">[ author ]</a>
         </li>
       </ul>

<hr>
<a href="http://mail.python.org/mailman/listinfo/python-list">More information about the Python-list
mailing list</a><br>

</body></html>